package com.qf.order.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单统计结果DTO
 */
@Data
@ApiModel("订单统计结果")
public class OrderStatsDTO {
    @ApiModelProperty("总订单数")
    private Integer totalOrders;

    @ApiModelProperty("总金额")
    private Double totalAmount;

    @ApiModelProperty("已完成订单数")
    private Integer completedOrders;

    @ApiModelProperty("平均处理时间（小时）")
    private Double avgProcessTime;

    @ApiModelProperty("总订单数环比趋势（%）")
    private Double totalOrdersTrend;

    @ApiModelProperty("总金额环比趋势（%）")
    private Double totalAmountTrend;

    @ApiModelProperty("已完成订单数环比趋势（%）")
    private Double completedOrdersTrend;

    @ApiModelProperty("平均处理时间环比趋势（%）")
    private Double avgProcessTimeTrend;
}
